#include <iostream>
#include "ChairMan.h"
#include "Printer.h"

using namespace std;

void testChairMan()
{
	ChairMan *man1 = ChairMan::getInstance();
	ChairMan *man2 = ChairMan::getInstance();
	cout << "man1: " << man1 << endl;
	cout << "man2: " << man2 << endl;
}

void testPrinter()
{
	Printer *printer1 = Printer::getInstance();
	Printer *printer2 = Printer::getInstance();
	cout << "printer1: " << printer1 << endl;
	cout << "printer2: " << printer2 << endl;
}

int main()
{
	testChairMan();
	testPrinter();

	system("pause");
}